package com.hc.ascii;

/**
 * @author : Henry
 * {@code CreateTime}: 2025-08-23 23:45
 * {@code Version}: 1.0
 */
public class AsciiDemo {
    public static void main(String[] args) {
//        char a = 'a';
//        int b = a;
//        System.out.println(b);
        // 定义字符串
        String a = "AzZ";
        char[] chars = a.toCharArray();
        for (char c : chars) {
            int code = c;
            System.out.println(code);
        }
    }
}
